﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES.ChuBoWens
{
    public class ProductionRejectionDTO : EntityDto<int>
    {
        /// <summary>
        /// 退料单编号
        /// </summary>
        [StringLength(50)]
        public string? RTCode { get; set; }

        /// <summary>
        /// 退料单名称
        /// </summary>
        [StringLength(255)]
        public string? RTName { get; set; }

        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int WorkOrderId { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        [StringLength(64)]
        public string? WorkOrderCode { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WareHouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        [StringLength(64)]
        public string? WareHouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [StringLength(255)]
        public string? WareHouseName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int LocationId { get; set; }

        /// <summary>
        /// 库位编号
        /// </summary>
        [StringLength(64)]
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [StringLength(255)]
        public string? LocationName { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 库区编号
        /// </summary>
        [StringLength(64)]
        public string? AreaCode { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        [StringLength(255)]
        public string? AreaName { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime? RTDate { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        [StringLength(64)]
        public string? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
